package moxl.parser.assemblers.cdata;

public enum CharacterDataAssemblerState
{
	CharacterDataStartState(new CharacterDataStartState()),
	CharacterDataEndState(new CharacterDataEndState());

	public static final CharacterDataAssemblerState START = CharacterDataStartState;
	public static final CharacterDataAssemblerState END = CharacterDataEndState;
	
	private final CharacterDataStateDelegateBase delegate;

	CharacterDataAssemblerState(CharacterDataStateDelegateBase delegate)
	{
		this.delegate = delegate;
		delegate.associateState(this);
	}

	public CharacterDataStateDelegateBase getDelegate()
	{
		return delegate;
	}
}
